\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs}{
\section{Zebulon::MCU::ReportAnalogInputs Class Reference}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs}\index{Zebulon::MCU::ReportAnalogInputs@{Zebulon::MCU::ReportAnalogInputs}}
}


Command message to set the desired thrust of a motor.  


{\ttfamily \#include $<$reportanaloginputs.h$>$}Inheritance diagram for Zebulon::MCU::ReportAnalogInputs::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a0c0d2e83fb5ce6f0dff53616a08d78b7}{
\hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a0c0d2e83fb5ce6f0dff53616a08d78b7}{ReportAnalogInputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a0c0d2e83fb5ce6f0dff53616a08d78b7}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a71721439ec234acde588ad04181c0cf5}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a71721439ec234acde588ad04181c0cf5}{$\sim$ReportAnalogInputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a71721439ec234acde588ad04181c0cf5}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a6fa7ca55e65248ae585b8c4805bda53b}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a1bc3bec41d700d0be16a53a5118c109e}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_ad6d75f45868e0b569fead7d42f7e020a}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_ad6d75f45868e0b569fead7d42f7e020a}

\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa1597091f219afdad921175f6a836ddc}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Message} $\ast$ \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa1597091f219afdad921175f6a836ddc}{Clone} () const }
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa1597091f219afdad921175f6a836ddc}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa98a8a6464e8d0f7d8f29282a99370f9}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa98a8a6464e8d0f7d8f29282a99370f9}{mPort}}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_aa98a8a6464e8d0f7d8f29282a99370f9}

\begin{DoxyCompactList}\small\item\em Port number \mbox{[}0x00, 0xFF\mbox{]}. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a167778b0ac81138c1486dac0e719e227}{
unsigned short \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a167778b0ac81138c1486dac0e719e227}{mValue}}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a167778b0ac81138c1486dac0e719e227}

\begin{DoxyCompactList}\small\item\em Value of Analog to Digital conversion. Range \mbox{[}0, 65535\mbox{]}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Command message to set the desired thrust of a motor. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a1bc3bec41d700d0be16a53a5118c109e}{
\index{Zebulon::MCU::ReportAnalogInputs@{Zebulon::MCU::ReportAnalogInputs}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::MCU::ReportAnalogInputs@{Zebulon::MCU::ReportAnalogInputs}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportAnalogInputs::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a1bc3bec41d700d0be16a53a5118c109e}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a6fa7ca55e65248ae585b8c4805bda53b}{
\index{Zebulon::MCU::ReportAnalogInputs@{Zebulon::MCU::ReportAnalogInputs}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::MCU::ReportAnalogInputs@{Zebulon::MCU::ReportAnalogInputs}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportAnalogInputs::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_report_analog_inputs_a6fa7ca55e65248ae585b8c4805bda53b}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/include/mcu/\hyperlink{reportanaloginputs_8h}{reportanaloginputs.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/src/mcu/\hyperlink{reportanaloginputs_8cpp}{reportanaloginputs.cpp}\end{DoxyCompactItemize}
